def fileAmin = new File('/home/auerf/Comparison/FULL Proteome/all_pairwise_celllines/amin/genes.txt')
def genesAmin = [:]
fileAmin.eachLine{line->
    def splitted = line.split('\t')
    genesAmin.put(splitted[0], splitted[1])
}

def fileMe = new File('/home/auerf/Comparison/FULL Proteome/all_pairwise_celllines/me/genes.txt')
def genesMe = [:]
fileAmin.eachLine{line->
    def splitted = line.split('\t')
    genesMe.put(splitted[0], splitted[1].split(','))
}

genesAmin.each{id,gene->
    if(!genesMe[id].contains(gene)){println id}
}